// 单元列表页样式
.unit-list-page {
    .hover-row {
        transition: all 0.2s ease;
        
        &:hover {
            background-color: #f5f5f5 !important;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        }
    }

    // 表格头部样式优化
    .ant-table-thead > tr > th {
        background-color: #fafafa !important;
        border-bottom: 1px solid #f0f0f0 !important;
        font-weight: 600 !important;
        color: #262626 !important;
        padding: 16px !important;
    }

    // 表格行样式优化
    .ant-table-tbody > tr > td {
        padding: 16px !important;
        border-bottom: 1px solid #f5f5f5 !important;
    }

    // 操作按钮样式
    .action-buttons {
        .ant-btn {
            border-radius: 4px;
            transition: all 0.2s ease;
            
            &:hover {
                transform: translateY(-1px);
                box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
            }
        }
    }

    // 分页样式
    .ant-pagination {
        .ant-pagination-item {
            border-radius: 6px !important;
            
            &.ant-pagination-item-active {
                background: linear-gradient(135deg, #1890ff 0%, #40a9ff 100%) !important;
                border-color: #1890ff !important;
            }
        }

        .ant-pagination-prev,
        .ant-pagination-next {
            border-radius: 6px !important;
        }
    }

    // 标签样式
    .ant-tag {
        border-radius: 4px;
        font-weight: 500;
        padding: 2px 8px;
    }
}

// 响应式设计
@media (max-width: 768px) {
    .unit-list-page {
        .ant-table-tbody > tr > td,
        .ant-table-thead > tr > th {
            padding: 12px 8px !important;
        }
    }
}